﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using EverBuy.SocialNetworking.BusinessObjects;

namespace EverBuy.SocialNetworking.Services
{
    /// <summary>
    /// 
    /// </summary>
    [ServiceContract]
    public interface IProfileService : IDisposable
    {
        List<ProfileAttribute> Attributes { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="accountID"></param>
        /// <returns></returns>
        [OperationContract]
        Profile LoadProfileByAccountID(Int32 accountID);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="profile"></param>
        [OperationContract]
        void SaveProfile(Profile profile);
    }
}
